package pojo;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class CourseM {

    private String id;

    @NotNull(message = "课程名称不能为空")
    private String name;
    @NotNull(message = "书名不能为空")
    private String book;

}
